package com.hj.collegetravel.dao;

import com.hj.collegetravel.models.CPicture;
import com.hj.collegetravel.models.CPictureExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface CPictureMapper {
    long countByExample(CPictureExample example);

    int deleteByExample(CPictureExample example);

    int deleteByPrimaryKey(Integer pId);

    int insert(CPicture record);

    int insertSelective(CPicture record);

    List<CPicture> selectByExample(CPictureExample example);

    CPicture selectByPrimaryKey(Integer pId);

    int updateByExampleSelective(@Param("record") CPicture record, @Param("example") CPictureExample example);

    int updateByExample(@Param("record") CPicture record, @Param("example") CPictureExample example);

    int updateByPrimaryKeySelective(CPicture record);

    int updateByPrimaryKey(CPicture record);
}